import { createRouter,createWebHistory } from "vue-router"
const routerHistory=createWebHistory()
const router= createRouter({
    history:routerHistory,
    routes:[
        {
            path:"/",
            name:"index",
            component:()=>import ("../pages/index/index.vue"),
        },
        {
            path:"/cosmetic",
            name:"cosmetic",
            component:()=>import ("../pages/cosmetic/index.vue")
        },
        {
            path:"/skinCare",
            name:"skinCare",
            component:()=>import ("../pages/skinCare/index.vue")
        },
        {
            path:"/perfume",
            name:"perfume",
            component:()=>import ("../pages/perfume/index.vue")
        },
        {
            path:"/VIPcenter",
            name:"VIPcenter",
            component:()=>import ("../pages/VIPcenter/index.vue")
        },
        {
            path:"/newTaste",
            name:"newTaste",
            component:()=>import ("../pages/newTaste/index.vue")
        },
        {
            path:"/detailGood",
            name:"detailGood",
            component:()=>import ("../pages/detailGood/index.vue")
        },
        {
            path:"/shoppingCart",
            name:"shoppingCart",
            component:()=>import ("../pages/shoppingCart/index.vue")
        }
    ]
})
export default router